Diesel or electric locomotive which are powerful